<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>背景图片练习</title>
    <style>
        #d1{
            width: 611px;
            height: 376px;
            background-color: #E8E8E8;
            background-image: url("http://doc.canglaoshi.org/tstore_v1/images/itemCat/study_computer_img1.png");
            background-size: 318px 319px;
            background-repeat: no-repeat;
            background-position: 90% 70%;
        }
        a{
            background-color: #0aa1ed;
            width: 132px;
            height: 40px;
            color: white;
            /*行内元素不能修改宽高,改成块级或行内块才能修改*/
            display: block;
            text-align: center;
            line-height: 40px;
            color: white;
            text-decoration: none;
            border-radius: 2px;/*设置圆角*/
        }
    </style>
</head>
<body>
<a href="http://doc.canglaoshi.org/tstore_v1/web/product_details.html">
查看详情
</a>
<div id="d1"></div>

</body>
</html>